/*
 * @Description: 施组方案审核意见回复接口
 * @Author: wind-lc
 * @version: 1.0
 * @Date: 2023-02-27 16:08:28
 * @LastEditTime: 2023-03-01 09:22:00
 * @FilePath: \cscec-pms-admin\src\api\technical\reviewReply.js
 */
import request from '@/utils/request'
import { technicalApiUrl } from '../config'

/**
 * @description: 获取施组方案审核意见回复列表
 * @param {object} data 参数
 * @return {promise}
 */
export function queryAuditApprovalByList(data) {
  return request({
    url: technicalApiUrl + '/technical/approval-management/program/queryAuditApprovalByList',
    method: 'post',
    data
  })
} 
/**
 * @description: 获取施组方案审核意见回复列表统计
 * @param {object} data 参数
 * @return {promise}
 */
export function queryAuditApprovalByCount(data) {
  return request({
    url: technicalApiUrl + '/technical/approval-management/program/queryAuditApprovalByCount',
    method: 'post',
    data
  })
} 
/**
 * @description: 施组方案审核意见选中、全部导出
 * @param {object} data 参数
 * @return {promise}
 */
export function exportAuditApprovalByList(data) {
  return request({
    url: technicalApiUrl + '/technical/approval-management/program/exportAuditApprovalByList',
    method: 'post',
    data,
    responseType: 'blob'
  })
} 
/**
 * @description: 获取回复信息
 * @param {object} data 参数
 * @return {promise}
 */
export function getReplyAuditApproval(data) {
  return request({
    url: technicalApiUrl + '/technical/approval-management/program/getReplyAuditApproval/' + data,
    method: 'get',
  })
}

export function queryAuditApprovalListById(programId) {
  return request({
    url: technicalApiUrl + '/technical/approval-management/program/queryAuditApprovalListById/' + programId,
    method: 'get',
  })
}